package com.ywk.base.toolClass.system;

import java.io.IOException;
import java.io.InputStream;

/**
 * @Author zbh
 * @Date 2023/7/7
 */
public class ClassLoaderTest {
    public static void main(String[] args) {
        InputStream inputStream = ClassLoader.getSystemResourceAsStream("application.yml");
        int in;
        try {
            while (((in = inputStream.read()) != -1)){
                System.out.print((char)in);
            }
            inputStream.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
